(b) Any person whose financial records are to be disclosed pursuant to a subpoena served under the provisions of subdivision (1), subsection (a) of this section may challenge the subpoena by filing a motion to quash in a court of competent jurisdiction at any time prior to the disclosure of the records. After the filing and service of the motion upon the financial institution and the state entity requesting the issuance of the subpoena, the production of financial records shall be stayed, without liability to the financial institution, until the court holds a hearing on the motion and an order is entered sustaining, modifying or quashing the subpoena.