The proposed legislation includes fines of up to Rs 270 crore for social media platforms that fail to comply with the rules.