Removing media key layer