Silly question...sour cream safe?

So I know we cannot eat uncooked dairy items that are unpasteurized but what about cooked foods? I ate some almond coffee cake today and then realized one of the ingredients is sour cream but it doesn’t say if it’s pasteurized! Now I’m panicking I hurt baby - does anyone know if this is unsafe? I’m 27 weeks.