Switch requestId generation to use SecureRandom