Formal Methods and Language-based Security Privacy