util: Added 'const' attribute to function parameters