fixes #8461 - remove uuidtools gem and use SecureRandom