Mexico is pursuing diplomatic and legal solutions to the flow of illegal U.S. guns fueling crime and violence across the country.