message: Absl string view to std string in dynamic metadata
diff: @@ -6,21 +6,25 @@ namespace Envoy {
  namespace RequestInfo {
  void DynamicMetadataImpl::setData(absl::string_view data_name, std::unique_ptr<Object>&& data) {
  - if (data_storage_.find(data_name) != data_storage_.end()) {
  + // TODO(Google): Remove string conversion when fixed internally.
  + const std::string name(data_name);
  + if (data_storage_.find(name) != data_storage_.end()) {
  throw EnvoyException("DynamicMetadata::setData<T> called twice with same name.");
  }
  // absl::string_view will not convert to std::string without an explicit case; see
  // https://github.com/abseil/abseil-cpp/blob/master/absl/strings/string_view.h#L328
  - data_storage_[static_cast<std::string>(data_name)] = std::move(data);
  + data_storage_[name] = std::move(data);
  }
  bool DynamicMetadataImpl::hasDataWithName(absl::string_view data_name) const {
  - return data_storage_.count(data_name) > 0;
  + // TODO(Google): Remove string conversion when fixed internally.
  + return data_storage_.count(std::string(data_name)) > 0;
  }
  const DynamicMetadata::Object*
  DynamicMetadataImpl::getDataGeneric(absl::string_view data_name) const {
  - const auto& it = data_storage_.find(data_name);
  + // TODO(Google): Remove string conversion when fixed internally.
  + const auto& it = data_storage_.find(std::string(data_name));
  if (it == data_storage_.end()) {
  throw EnvoyException("DynamicMetadata::getData<T> called for unknown data name.");
  