In any proceeding for an injunction, the commissioner or attorney general may apply to the court for a subpoena to require the appearance of a defendant and the defendant's agents and for any books, accounts, papers, correspondence, memoranda, purchase agreements, files, or other documents or records germane to the hearing upon the petition for an injunction.