Valgrind: Pass const vector by reference

Change-Id: I1625d52a6743887db80ed9943a888d094b2d8012
Reviewed-by: hjk <hjk121@nokiamail.com>