pub fn process_string<'a>(s: &'a str, needs_modification: bool) -> Cow<'a, str>
Process a string without cloning unless modification is needed