Change const string reference to const string type.