Fix a tidy warning: performance-unnecessary-value-param

Test: m netd_integration_test
Change-Id: Ief9dff7dccc17e90e2b5386ffec7530275ab564c
diff --git a/tests/binder_test.cpp b/tests/binder_test.cpp
index 0410532..fdb5db6 100644
--- a/tests/binder_test.cpp
+++ b/tests/binder_test.cpp
@@ -1213,7 +1213,7 @@
     EXPECT_EQ(enable, enableIPv6);
 }
 
-bool ipRuleIpfwdExists(const char* ipVersion, const std::string ipfwdRule) {
+bool ipRuleIpfwdExists(const char* ipVersion, const std::string& ipfwdRule) {
     std::vector<std::string> rules = listIpRules(ipVersion);
     for (const auto& rule : rules) {
         if (rule.find(ipfwdRule) != std::string::npos) {