Even if you gently heat the cheese to melt it, its nutritional value stays the same. On the other hand. If you shred potatoes before boiling them, they will lose many nutrients that dissolve in water during cooking. Thus shred ding causes no measurable loss of nutritional value in the cheese. but does in the potatoes when they are cooked