diff --git a/indra/newview/rlvui.cpp b/indra/newview/rlvui.cpp
index e10dae635140a041ed324497f83f02de863b4554..52a3a02679259c08a4cd02bdc4c2dbda8c7ca8c3 100644
--- a/indra/newview/rlvui.cpp
+++ b/indra/newview/rlvui.cpp
@@ -341,7 +341,7 @@ bool RlvUIEnabler::filterFloaterShowLoc(std::string_view strName, const LLSD&)
 }
 
 // Checked: 2012-02-07 (RLVa-1.4.5) | Added: RLVa-1.4.5
-bool RlvUIEnabler::filterPanelShowLoc(const std::string& strFloater, const std::string&, const LLSD& sdKey)
+bool RlvUIEnabler::filterPanelShowLoc(std::string_view strFloater, std::string_view, const LLSD& sdKey)
 {
 	if ("places" == strFloater)
 	{
diff --git a/indra/newview/rlvui.h b/indra/newview/rlvui.h
index d8501f946ac0edb730318ffcb47d44465a1f978a..15af2758638ad01f62127fc312f0afe02ac853ed 100644
--- a/indra/newview/rlvui.h
+++ b/indra/newview/rlvui.h
@@ -67,7 +67,7 @@ class RlvUIEnabler final : public LLSingleton<RlvUIEnabler>
 	bool filterFloaterViewXXX(std::string_view, const LLSD&);
 	boost::signals2::connection m_ConnFloaterViewXXX;					// viewnote, viewscript, viewtexture
 
-	bool filterPanelShowLoc(const std::string&, const std::string&, const LLSD& );
+	bool filterPanelShowLoc(std::string_view, std::string_view, const LLSD& );
 	boost::signals2::connection m_ConnPanelShowLoc;						// showloc
 
 	/*