Generally speaking, people use the DeDRM plugin for Calibre. Link omitted for legal reasons.
Here's one option you might try (no connection to it but it seems to be one of the most recently usable, trustworthy versions) https://github.com/noDRM/DeDRM_tools
Even then I’ve found around 5% don’t decrypt