The public utilities commission or the department of business, economic development, and tourism shall refer to the attorney general any matter that is a violation of this chapter that is discovered in the performance of its duties pursuant to chapter 486H or 486J.