def _CreateLookupCacheKey(func, prefix, args, unused_kwargs=None):
  """Generate a unique key from the Lookup function and its arguments."""
  prefix = prefix or func.__name__
  binary_hash = args[0] or ''
  return '%s|%s' % (prefix, binary_hash)