Funds from the Community Infrastructure Levy will go towards safeguarding The Cobb in Lyme Regis.