Are you channeling your best self with this comment? (If you're not sure, check out our Code of Conduct.)
Should be fine. The kinds of mold that form on cheese are not generally hazardous to your health. I would go ahead cut off the moldy bits from the cheese that remains but wouldn't worry about what's already grated.
11 Ways to Wing It This Memorial Day
Cooks Well Under Pressure
Croque Madame Casserole
A Better Way to Travel