Use String.replace instead of replaceAll in MetadataEncoder; since Java 9, String.replace no longer uses a regex, while replaceAll does. The use case here of replacing a single character does not require a regex. Closes gh-35025 Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com>