I hear a rattling noise when i put my foot on the gas on 2010 Subaru Legacy

the dealer just changed the oil about a month ago

2 answers
First of all make sure the oil level is good :) Then inspect the exhaust heatshield to make sure none of it came loose.
DO YOU HAVE ANY CODES LIKE KNOCK SENSOR?