NVP metadata access - create elevated context once

Bug 1155051

This is a follow-up patch which fixes a problem with elevated
context not being passed to subroutines.

Change-Id: Ic270d8e48075b6b58117970ab870c3fb3962d93b