Flexible cables and flex PCBs are wonderful ... fundamentally, plastic! Cover them with kapton or metal foil or both if you’re about to heatgun your board, just like you’d cover any plastic ...