bool SplitKV(string_view input, char delim, bool trim_spaces, std::string* key,
             std::string* value) {
  string_view key_view;
  string_view value_view;
  if (SplitKV(input, delim, trim_spaces, &key_view, &value_view)) {
    *key = ToString(key_view);
    *value = ToString(value_view);
    return true;
  }
  return false;
}
bool SplitKV(string_view input, char delim, bool trim_spaces, std::string* key,
             std::string* value) {
  string_view key_view;
  string_view value_view;
  if (SplitKV(input, delim, trim_spaces, &key_view, &value_view)) {
    *key = ToString(key_view);
    *value = ToString(value_view);
    return true;
  }
  return false;
}