Move legacy serialization flush cmds to common api Change-Id: I7a1a46a615c90e112c91efc4aec1461023b6ad5c CRs-Fixed: 2452518