Change const char* to std::string

This is just to make the constructors more consistent.

Bug: 137953313
Test: TH
Change-Id: Id297da99cf246cd64095b3e1e2d219300fec99ff
diff --git a/Scope.cpp b/Scope.cpp
index cfe004d..c8f57b8 100644
--- a/Scope.cpp
+++ b/Scope.cpp
@@ -25,11 +25,13 @@
 #include <hidl-util/StringHelper.h>
 #include <algorithm>
 #include <iostream>
+#include <string>
 #include <vector>
 
 namespace android {
 
-Scope::Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent)
+Scope::Scope(const std::string& localName, const FQName& fullName, const Location& location,
+             Scope* parent)
     : NamedType(localName, fullName, location, parent) {}
 Scope::~Scope(){}