Legislation would require operating systems to provide privacy-preserving age signals to apps and websites instead of relying on repeated checks by individual platforms.