malicious software warning
Hi
Somehow Chrome and Spotify stopped working on my Mac. I followed advice to delete the apps and reinstall. Now I get a warning box that says neither can be opened because they can't be checked for malicious software. I attach a screengrab of the warning. I can't get beyond this. How do I fix it? Thanks.
MacBook, macOS 12.5