[DF-3547] Add const to function param