Go to System Preferences - Security and Privacy - Privacy, then unlock in the lower left corner
Accessibility and Full Disk Access with CleanMyMac X
Finally, run the following command on the command line
sudo launchctl load -w /Library/LaunchDaemons/com.macpaw.CleanMyMac4.Agent.plist