Looking at the diagram you attached it is possible to use the CSM to load balance traffic to the segments A&B, but you will have to use Secure/router mode between VLAN's C&D, but One-Arm between A&B, this is because of the router in the middle will break the secure mode.
So you don't need to touch the configuration of the Vlans C&D, and here is a configuration guide to use with A&B:
Introduction This article will help you understand the steps on how to
download the UCS licenses from the Cisco Systems website and then
installing it on the UCS. The redacted (blue lines) just covers up
certain numbers for privacy please do not take them...
Introduction This article will help you understand and educate the
customer on how to clear their "expired licenses"
(license-graceperiod-expired) from their UCS-M. If a customer just
purchased a license and needs a step by step guide on how to download
Introduction Prepositioning is a powerful tools on the WAAS platform but
it is not always easy to figure out why your jobs are failing when
trying to retrieve the files.Here is a method that should help you to
figure out the reason why they are not succes...