def METHOD_NAME(provision_path):
  """Extract a plist as a string from the specified mobile provision.
  Mobile provisions are encoded files with an embedded plist. This method
  will attempt to decode the file and return the plist as a string.
  Args:
    provision_path (str): Path to a mobileprovision profile.
  Returns:
    bytes: Contents of the plist file.
  Raises:
    subprocess.CalledProcessError: Failed to decode the given file.
  """
  # -D specifies decode, -i <path> specifies input.
  return subprocess.check_output(
      ["security", "cms", "-D", "-i", provision_path])