Too keep mold from growing on Shredded Cheese or any other cheese take a paper towel and Sprinkle it lightly with vinegar about 1/4 teaspoon of vinegar sprinkled on a double layer of paper towel will work just fine.
Then wrap the cheese up completely into the paper towel and then tightly wrap the cheese and paper towel with some plastic wrap.
Then placed the wrapped up cheese into the refrigerator and it will keep the cheese fresh and prevent mold growth on the cheese.