No such law is being proposed. The cops aren't going to bust down your door for generating a 3650 day certificate using openssl.
Passport max validity length is set by the ICAO not the government.
Contracting states are free to do whatever they like but for the most part, they choose to follow the Recommended Practices.
https://www.icao.int/WACAF/Documents/Meetings/2018/FAL-IMPLE...
The depends where you live, and what the government means. In some places the validity of a passport is written in a law, voted by the parliament; in other it's a operation decision by the government (e.g. the ministry of the internal affairs).
Where I live it's a law voted by the parliament.
Also TLS fingerprints and biometrical data are "hashed" data, if that's what you mean about having in common.
They're both centrally revokable, attested assertions of identity, where the attestation can be validated with the attester offline.
If you try and come up with a design for any system that includes this type of assertion, you'll end up in a place where you'll probably want it to expire and need re-validation at some point. That expiry is a property of the attestation, and is therefore controlled by the person/group doing the attestation. In the case of a passport, this happens to be the government. For a cert, it's the CA.
Oddly enough, virtually all passport/personal ID checks around here are... online. Airports, police, any shop... all of them are all online.
The CAB forum is not a company (although it is made up of some) and the government does not set passport max validity lengths (they can make it shorter than 10 years, just like CAs can make certs shorter, but there is a reason no country gives out passports longer than 10 years)