Analyzing the Effectiveness of Legal Regulations and Social Consequences for Securing Data