Honestly, here I'd just pass in a `std::string` (or more reasonably a `const std::string&` or `std::string_view`, but it's unlikely you can use either of those?
Im only allowed to use std::string sadly