Fix incorrect hook usage, second parameter is a reference

Bug: 63268
Change-Id: I4b43d547db03c5a22be57c5b3e7a317a7f931315