§ 8017. Exemption of the state and counties, and agencies and officers thereof, from fees of clerks. (a) Notwithstanding any other provision of this article or any other general, special or local law relating to fees of clerks, no clerk shall charge or collect a fee from the state, or an agency or officer thereof, for any service rendered in an action in which any of them is involved, nor shall any clerk charge or collect a fee for filing, recording or indexing any paper, document, map or proceeding filed, recorded or indexed for the county, or an agency or officer thereof acting in an official capacity, nor for furnishing a transcript, certification or copy of any paper, document, map or proceeding to be used for official purposes.(b) Notwithstanding any other provision of law the exemption of subdivision (a) of this section shall not apply to the fees of clerks where the action is on behalf of the New York State Higher Education Services Corporation to recover money due as a result of default of a student loan.