Did you consider to not get a license? You could perhaps download and execute Widevine pretending to be Firefox or Chrome. Is there advanced spying software in Widevine preventing to do that?
The risk doesn't seem worth it to use such a workaround for a serious project though.
[0] https://source.chromium.org/chromium/chromium/src/+/master:t...
I'm not sure if you're asking for technical or legal advice. If legal, then since most of us are not lawyers here, strictly speaking we can't judge if "Hello, world!" program will put us in jail or not.