Automated Code Change

PiperOrigin-RevId: 980138979
diff --git a/src/google/protobuf/json/internal/parser.cc b/src/google/protobuf/json/internal/parser.cc
index 9266291..9e2aa70 100644
--- a/src/google/protobuf/json/internal/parser.cc
+++ b/src/google/protobuf/json/internal/parser.cc
@@ -1054,7 +1054,8 @@
       }));
 
   // Build a new lexer over the skipped object.
-  absl::string_view any_text = mark.value.UpToUnread();
+  MaybeOwnedString any_text_storage = mark.value.UpToUnread();
+  absl::string_view any_text = any_text_storage.AsView();
   io::ArrayInputStream in(any_text.data(), any_text.size());
   // Copying lex.options() is important; it inherits the recursion
   // limit.