Sony has identified a 5-year-old copy-and-paste error in LicenseKeys::GetAllowedUsage(). For entitled keys, it was calling CanDecryptContent() instead of GetAllowedUsage() on the entitlement key session. This meant that for entitled keys, the allowed_usage parameter was never updated and the return value of the function was indicating something different than intended. Bug: 280902715 Test: x86-64 Merged from https://widevine-internal-review.googlesource.com/174671 Merged from https://widevine-internal-review.googlesource.com/175296 Merged from https://widevine-internal-review.googlesource.com/175299 Merged from https://widevine-internal-review.googlesource.com/175350 Change-Id: Ic6f34a5110c7144778d5773d5c1cc5768f953e41