are metamorphic rocks formed in a closed system
So on the scale of a mineral grain we are not dealing with a closed system at all. To do metamorphic petrology though, we assume that the system is closed on the scale of a rock sample, or maybe thin-section. This seems reasonable if you think about metamorphosed sediments.