Take it to the Cadillac dealership to find out for sure. Get a written estimate for repairs and an opinion on cause.
it may have been a coincidence. under certain conditions when a check engine lamp illuminates, the PCM will command the transmission pressure control solenoid to increase line pressure and or default to a second gear launch. Have the dealer check the code for you.