GetPKeyDetails() requires the pkey_id (not the pkey). See the function definition in LimeLM.php:
public static function GetPKeyDetails($pkey_id)
So how do you get the pkey_id from the pkey? Luckily, there's a function for that:
public static function GetPKeyID($version_id, $pkey)