You got "TSA Precheck" for that... service.
Two ways to get it - one, apply, pay money, lots of it (? $500 ballpark?) get investigated and fingerprinted.
The other way, it is random, available to all pax.
Either way, it is on your boarding pass when you have it - a paid-for persistent "privilege" or just a one-time random thing.
There are express lane services, provided through the individual carriers that can get you to the front of the regular line, you usually pay an additional fee, then there is TSA precheck, where you pay $85 to get a KTN, a Known Traveller Number, which requires you submit a form, they do a background check, and a short interview.
They may seem similar, but there is a difference.