4- Use the image clean up plugin ( very easy to use ) make a scan and delete all the images with incorrect metadata .
5- Go to the AIOSEO general settings and update .
6- Update the xml sitemaps .
7- View the xml site map and search for image urls that previously caused errors in google console . You should not find them . By now they should have been deleted from the site map .