Fix crash when use SessionID as paramenter in SecHashKey