Degradation of the organic molecules in the shallow subsurface of Mars due to irradiation by cosmic rays