diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index 24f8e27ec02846fea75d3246bc19db1b3212c02b..e077326fd32471461567d8ed9bde350c12e6ac8c 100644
--- a/indra/newview/llaisapi.cpp
+++ b/indra/newview/llaisapi.cpp
@@ -1538,7 +1538,7 @@ void AISUpdate::parseEmbedded(const LLSD& embedded, S32 depth)
 	}
 }
 
-void AISUpdate::parseUUIDArray(const LLSD& content, const std::string& name, uuid_list_t& ids)
+void AISUpdate::parseUUIDArray(const LLSD& content, const std::string_view name, uuid_list_t& ids)
 {
 	if (content.has(name))
 	{
diff --git a/indra/newview/llaisapi.h b/indra/newview/llaisapi.h
index d15a66ff4d9eaa618b1d25c2e8debaf476efdcf1..559a8f75b219717f6c1e938b6202508cf0558dfa 100644
--- a/indra/newview/llaisapi.h
+++ b/indra/newview/llaisapi.h
@@ -115,7 +115,7 @@ class AISUpdate
 	void parseMeta(const LLSD& update);
 	void parseContent(const LLSD& update);
 // [SL:KB] - Patch: Appearance-SyncAttach | Checked: Catznip-3.7
-	static void parseUUIDArray(const LLSD& content, const std::string& name, uuid_list_t& ids);
+	static void parseUUIDArray(const LLSD& content, const std::string_view name, uuid_list_t& ids);
 // [/SL:KB]
 //	void parseUUIDArray(const LLSD& content, const std::string& name, uuid_list_t& ids);
 	void parseLink(const LLSD& link_map, S32 depth);