Structural Basis for Different Substrate Profiles of Two Closely Related Class D β-Lactamases and Their Inhibition by Halogens.