def _oauth_token_grant_cache_key(service_account, end_user):
  """Returns a memcache key for cached OAuth token grant."""
  assert '|' not in service_account, service_account
  return '%s|%s' % (service_account, end_user.to_bytes())