Which of the following processes are required in the formation of all metamorphic rock?