In light of the ethical considerations surrounding the self-driving car dilemma, the decision hinges on the principle of minimizing harm and maximizing overall well-being. Applying a utilitarian approach, which prioritizes the greatest good for the greatest number, the car should swerve to save the five pedestrians. This choice aligns with the ethical framework that seeks to minimize the total number of lives lost, thereby resulting in the lesser evil of sacrificing one life to save five.

**Answer:** The car should swerve into the barrier to save the five pedestrians, as this choice minimizes the overall harm and aligns with utilitarian principles that prioritize the greatest good for the majority.