[server][Helpers] Add 'const' for input parameters according to the coding convention.