Local and state governments rely on federal funding to help mitigate domestic terrorism and bolster security