A class action lawsuit claims TikTok stored the unencrypted data of more than 2.4 billion users and failed to prevent a data breach that exposed it.