The Impact of Artificial Intelligence on Data Protection: A Legal Analysis