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/cpld.cpp b/cpld.cpp
index f91fed4..e5dc276 100644
--- a/cpld.cpp
+++ b/cpld.cpp
@@ -20,6 +20,7 @@
 
 #include <cstring>
 #include <ipmid/api-types.hpp>
+#include <span>
 #include <vector>
 
 namespace google
@@ -35,8 +36,7 @@
 //
 // Handle reading the cpld version from the tmpfs.
 //
-Resp cpldVersion(const std::vector<std::uint8_t>& data,
-                 const HandlerInterface* handler)
+Resp cpldVersion(std::span<const uint8_t> data, const HandlerInterface* handler)
 {
     struct CpldRequest request;