Fix parameter type for calling getSubTreePaths method

The interface attribute type that calls the getSubTreePaths method
should use std::string_view instead of const char*.

bump is failing.
https://gerrit.openbmc.org/c/openbmc/openbmc/+/60221
https://jenkins.openbmc.org/job/ci-openbmc/15513/distro=ubuntu,label=docker-builder,target=witherspoon/console

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I9dc4a710da0bdcec91a73ded89a253baa04a3550
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index e5beb32..09b2155 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -2282,7 +2282,7 @@
     asyncResp->res.jsonValue["Members@odata.count"] = logServiceArray.size();
 
 #ifdef BMCWEB_ENABLE_REDFISH_DUMP_LOG
-    const std::array<const char*, 1> interfaces = {
+    constexpr std::array<std::string_view, 1> interfaces = {
         "xyz.openbmc_project.Collection.DeleteAll"};
     dbus::utility::getSubTreePaths(
         "/xyz/openbmc_project/dump", 0, interfaces,