def get_guids_by_asset_paths_for_version(guid_data, version):
  """Get asset GUIDs by path for a plugin version.

  Args:
    guid_data: Data to query for asset GUIDs.  This should be a dictionary in
      the form expected by validate_guid_data().
    version: Version dictionary to find in guid_data.

  Returns:
    Dictionary that is referenced by the "version" section of the guid_data
    dictionary. The returned value can be mutated to extend the guid_data
    object.
  """
  guids_by_asset_paths = guid_data.get(version, {})
  guid_data[version] = guids_by_asset_paths
  return guids_by_asset_paths