I'd like to re-use something like this one.I'm still reviewing it but so far I've only seen a couple of changes.
https://github.com/jwang36/edk2-staging/tree/ProtectedVariable/libsv2#readmeI can also send out of the cover letter patch.