Defender high CPU usage when scanning files, turned off, now having PHP errors.

Hello,

When defender was running a scan of files on WordPress it was having very high CPU usage, way more than my cloud environment could handle. So, I turned off the scanning part and now I'm getting this error everywhere in the backend:

Warning: Missing argument 2 for wpdb::prepare() in /wp-includes/wp-db.php on line 1291

I also use WordFence as a WAF and file scanning which doesn't seem to have CPU issues performing similar functions.

Please advise. Thanks.