Bad feta cheese affect my health during pregnancy??

Mom

I cooked pasta and used feta cheese in it.. the recent trend lol.. but after I put my dish for cooking I found a weird smell in the feta cheese.. I think it’s gone bad.. though it was in brine .. I don’t know if I should eat it .. I am scared cause I am pregnant too .. can anybody tell me if it’s ok ? Cz I cooked it at 400F please