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/machine_name.cpp b/machine_name.cpp
index c1b9c4e..d17a592 100644
--- a/machine_name.cpp
+++ b/machine_name.cpp
@@ -22,6 +22,7 @@
 #include <cstring>
 #include <ipmid/api-types.hpp>
 #include <optional>
+#include <span>
 #include <string>
 #include <vector>
 
@@ -30,7 +31,7 @@
 namespace ipmi
 {
 
-Resp getMachineName(const std::vector<std::uint8_t>&, HandlerInterface* handler)
+Resp getMachineName(std::span<const uint8_t>, HandlerInterface* handler)
 {
     static std::optional<std::string> machineName;
     if (!machineName)