The unnamed legislator is connected to the pay-to-play scandal that sent two former lawmakers to prison in 2022.