Is there a good way to avoid programs like this in general?
You buy software that includes a commercial license that guarantees data retention
So that answer us no because such software does virtually not exist.