Fix some cases where StringRef was being passed by const reference. Remove const...