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.hpp b/psu.hpp
index b022881..56beb61 100644
--- a/psu.hpp
+++ b/psu.hpp
@@ -19,7 +19,7 @@
 #include <ipmid/api.h>
 
 #include <ipmid/api-types.hpp>
-#include <vector>
+#include <span>
 
 namespace google
 {
@@ -33,11 +33,11 @@
 } __attribute__((packed));
 
 // Set a time-delayed PSU hard reset.
-Resp psuHardReset(const std::vector<std::uint8_t>& data,
+Resp psuHardReset(std::span<const uint8_t> data,
                   const HandlerInterface* handler);
 
 // Arm for PSU hard reset on host shutdown.
-Resp psuHardResetOnShutdown(const std::vector<std::uint8_t>& data,
+Resp psuHardResetOnShutdown(std::span<const uint8_t> data,
                             const HandlerInterface* handler);
 
 } // namespace ipmi