Prosecutor: Deputy involved in Dec. 2020 shooting 'acted in