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/psu.cpp b/psu.cpp
index 1e2ed92..32a3fe2 100644
--- a/psu.cpp
+++ b/psu.cpp
@@ -21,6 +21,7 @@
 #include <cstdint>
 #include <cstring>
 #include <ipmid/api-types.hpp>
+#include <span>
 #include <vector>
 
 namespace google
@@ -28,7 +29,7 @@
 namespace ipmi
 {
 
-Resp psuHardReset(const std::vector<std::uint8_t>& data,
+Resp psuHardReset(std::span<const uint8_t> data,
                   const HandlerInterface* handler)
 {
     struct PsuResetRequest request;
@@ -54,7 +55,7 @@
                                    std::vector<uint8_t>{});
 }
 
-Resp psuHardResetOnShutdown(const std::vector<std::uint8_t>&,
+Resp psuHardResetOnShutdown(std::span<const uint8_t>,
                             const HandlerInterface* handler)
 {
     try