auto to auto&, string to const string&

I hope this is correct