service_name and service_provider use dynamic buffer now