Giovanni Lopez of Waterbury was sentenced to 8.5 years in prison Friday for his role in the carjacking of an Aston Martin from a Westport home.