Unmasking the Synthetic: Using Metadata to Spot AI-Generated Images