Stop using string::replace.
Stop using string::replace.

In an earlier change I used string::replace, but looking at the string::replace API it feels that it is a little bit weird. Let's try to avoid it.

PiperOrigin-RevId: 263549047

google/tink,google/tink,google/tink,google/tink,google/tink,google/tink,google/tink,google/tink