State lawmakers Tuesday passed an amendment to a law that will create a special commission in the near future outside the state’s current Attorney Grievance Committees to review allegations of misconduct specifically by the state’s prosecutors.

The amendment, which was created to address constitutional concerns in the original statute, is expected to receive the approval of Gov. Andrew Cuomo, whose office negotiated the terms of the changes with the Legislature last year.