In Canada the equivalent is CASL and both CAN-SPAM and CASL predate the GDPR by at least a decade or two.
The important here is the location of the user, not the date of the legislation. Measuring ages of laws seems juvenile. But, fyi, check the history of GDPR, it is not born out of nothing.