Someone please correct me if I'm wrong but I think things that are required for the functioning of the program/device/service are exempt
For what it's worth, I have been involved with implementing the GDPR properly in a number of reasonably large companies. Sadly a number of people can say this and a vanishingly small amount of companies actually adhere to it properly, so I'd take it with a grain of salt.