William Galvin, secretary of the Commonwealth of Massachusetts, subpoenaed Goldman Sachs to investigate claims that the investment bank was giving preferential treatment to big clients, he told CNBC in a live interview Wednesday.

"Whenever you have a situation where certain customers are given preferred status over other investors, that is a problem," he said.