The attorneys general say the federal government has relied on a faulty legal opinion in its decision to withhold funding from the Consumer Financial Protection Bureau.