Moldy mozzarella cheese at 27 Weeks?

I put some mozzarella cheese accidentally on my pasta and the. I noticed green stuff on it. So I picked it out because it was not lot on it. I checked the bag before putting it it and it looked fine and smelled fine. I think it was at the bottom of the bag or something. But I took it out whatever I put accidentally on pasta and than use some other cheese I had and put it in oven to cook for 10 mins. Should I be fine? It’s already been 10 hours. I’m fine but just worried.