Those are engine misfire codes. During severe misfire unburnt gasoline and O2 will end up in the catalytic converters and react on the catalyst surface causing a severe temperature rise. Temperatures can get high enough that they will destroy the internal structure of the catalytic converter and melt the undercoating off of anything in the area around the catalytic converter. The risk of damage to the actual engine is low unless your misfire is so severe that you are washing the cylinders with unburnt gasoline or suffering from really severe pre ignition that the ECU is interpreting as misfire. If you drove your car a lot while the MIL was flashing you may have already toasted your catalytic converters.
Whether it is safe to drive your car will depend on how far away the dealership is and whether you can drive the car without triggering a severe bought of misfire. Since the MIL on the OBDII ECUs seems to flash when misfire occurs, try to avoid operating the engine under the conditions that cause the MIL to flash, if that is even possible. Ultimately, you need to be the one who decides whether it is possible to drive the car without further damage to the catalytic converters.