amounts received pursuant to—
(A) section 1201 of the Omnibus Crime Control and Safe Streets Act of 1968 ( 42 U.S.C. 3796 ); 1 1 See References in Text note below. or
(B) a program established under the laws of any State which provides monetary compensation for surviving dependents of a public safety officer who has died as the direct and proximate result of a personal injury sustained in the line of duty,
except that subparagraph (B) shall not apply to any amounts that would have been payable if death of the public safety officer had occurred other than as the direct and proximate result of a personal injury sustained in the line of duty.