This function only ever reads the contents of the string in a non-owning manner, so we can change the parameter over to being a string view.
This function only ever reads the contents of the string in a non-owning manner, so we can change the parameter over to being a string view.