google-ipmi-sys: Convert input to use std::span<const uint8_t>

Change-Id: I533de34c04e3d2577cb9076add441153b2994c30
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/host_power_off.cpp b/host_power_off.cpp
index 98e5daa..939ba6e 100644
--- a/host_power_off.cpp
+++ b/host_power_off.cpp
@@ -23,6 +23,7 @@
 #include <cstdint>
 #include <cstring>
 #include <ipmid/api-types.hpp>
+#include <span>
 #include <vector>
 
 namespace google
@@ -30,7 +31,7 @@
 namespace ipmi
 {
 
-Resp hostPowerOff(const std::vector<uint8_t>& data,
+Resp hostPowerOff(std::span<const uint8_t> data,
                   const HandlerInterface* handler)
 {
     struct HostPowerOffRequest request;