Bus services will be protected thanks to £46m fund