diff --git a/libwvdrmengine/oemcrypto/odk/include/odk_structs.h b/libwvdrmengine/oemcrypto/odk/include/odk_structs.h index 2ff0cef8..6f18d2a8 100644 --- a/libwvdrmengine/oemcrypto/odk/include/odk_structs.h +++ b/libwvdrmengine/oemcrypto/odk/include/odk_structs.h @@ -19,7 +19,7 @@ extern "C" { #define ODK_MINOR_VERSION 0 /* ODK Version string. Date changed automatically on each release. */ -#define ODK_RELEASE_DATE "ODK v19.0 2023-11-21" +#define ODK_RELEASE_DATE "ODK v19.0 2023-11-30" /* The lowest version number for an ODK message. */ #define ODK_FIRST_VERSION 16 diff --git a/libwvdrmengine/oemcrypto/odk/src/core_message_serialize_proto.cpp b/libwvdrmengine/oemcrypto/odk/src/core_message_serialize_proto.cpp index ff1b69cd..2559012f 100644 --- a/libwvdrmengine/oemcrypto/odk/src/core_message_serialize_proto.cpp +++ b/libwvdrmengine/oemcrypto/odk/src/core_message_serialize_proto.cpp @@ -9,8 +9,10 @@ #include #include #include +#include #include +#include "OEMCryptoCENCCommon.h" #include "core_message_serialize.h" #include "license_protocol.pb.h" #include "odk_serialize.h" @@ -32,8 +34,8 @@ using oemcrypto_core_message::features::CoreMessageFeatures; * message: serialized license protobuf * field: substring value */ -OEMCrypto_Substring GetOecSubstring(const std::string& message, - const std::string& field) { +OEMCrypto_Substring GetOecSubstring(std::string_view message, + std::string_view field) { OEMCrypto_Substring substring = {}; size_t pos = message.find(field); if (pos != std::string::npos) {