Arvell C. not an expert here but under lindy utilities there is something called delete all memories which may or may not be what you are looking for. Full disclosure, I have no idea what this does or how it works, so just putting it out there.
Exploring the 'Delete All Memories' Feature in Lindy Utilities | Lindy Community