Change native functions to take `c10::string_view` args instead of `std::string` (#57680)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/53546
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57680
Reviewed By: malfet
Differential Revision: D28511799
Pulled By: ezyang
fbshipit-source-id: 43142f994d048b28b3279ccdb7a28cbaa3190973