Secure storage scheme of trajectory data for digital tracking mechanism