Mandating electronic ballistic registration of firearms