Isn’t this a bill of attainder?
to save others the time
A bill of attainder (also known as an act of attainder or writ of attainder or bill of pains and penalties) is an act of a legislature declaring a person or group of persons guilty of some crime and punishing them, often without a trial. As with attainder resulting from the normal judicial process, the effect of such a bill is to nullify the targeted person’s civil rights,