Fix Chromium compiler error. The source of the compilation difference here is that before C++17, std::string::data() is const, but C++17 added a non-const version that allows writing to it Unused code. not protected. PiperOrigin-RevId: 310222049 Change-Id: I21c44b2e0f8b705980ad8fc3120e47c6fa9bf9b7