The Mexican Parliament has approved a constitutional amendment aimed at strengthening the country's sovereignty and punishing foreign interventions.