(a) In any investigation of a violation of this article or any investigation of a violation of Code Section 16-12-100, 16-12-100.1, 16-12-100.2, 16-5-90, Article 8 of Chapter 5 of this title, or Article 8 of this chapter involving the use of a computer in furtherance of the act, the Attorney General or any district attorney shall have the power to administer oaths; to call any party to testify under oath at such investigation; to require the attendance of witnesses and the production of books, records, and papers; and to take the depositions of witnesses. The Attorney General or any such district attorney is authorized to issue a subpoena for any witness or a subpoena to compel the production of any books, records, or papers.
(b) In case of refusal to obey a subpoena issued under this Code section to any person and upon application by the Attorney General or district attorney, the superior court in whose jurisdiction the witness is to appear or in which the books, records, or papers are to be produced may issue to that person an order requiring him or her to appear before the court to show cause why he or she should not be held in contempt for refusal to obey the subpoena. Failure to obey a subpoena may be punished by the court as contempt of court.