Added function for returning key_prefix

Signed-off-by: selmeci <roman.selmeci@infones.com>