People were manually converting it to `std::string_view` in many places already. It's easy enough to allow using `StringRef` directly by providing a `format_as` function. Also see https://fmt.dev/latest/api.html#udt. Pull Request: https://projects.blender.org/blender/blender/pulls/117788