Perturbation of the ECR plasma ion energy distribution function during the interaction with a laser-generated plasma