Driver sentenced to 10 years for crash that injured cop