Dittos with both previous suggestions.
Definitely let air out IN THE SUN for a few days.
ALSO, if the cedar is removable and you can't sand away the odor, I'd trash the cedar and replace it with new.
ALSO, if the cedar is removable, try washing the inside of the cooler with a VERY mild bleach/detergent solution and THEN air out in the sun for a few days.
Purp