SEC, Department of Justice investigating S&P ratings agency