Fix performance-for-range-copy warnings

Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: I77170eebaef5af6ba547f4cfd89543f7041e5e8b
diff --git a/usb/Usb.cpp b/usb/Usb.cpp
index 6977307..9876f92 100644
--- a/usb/Usb.cpp
+++ b/usb/Usb.cpp
@@ -381,7 +381,7 @@
 
   if (result == Status::SUCCESS) {
     currentPortStatus_1_1->resize(names.size());
-    for (std::pair<std::string, bool> port : names) {
+    for (const std::pair<std::string, bool>& port : names) {
       i++;
       ALOGI("%s", port.first.c_str());
       (*currentPortStatus_1_1)[i].status.portName = port.first;