BMW did this with the fan controls, and they fail with depressing regularity, either cooking to death because the fin is too small or corroding the semiconductors off. Use a set of fins that will handle the dissipation in free air, and use a conformal silicone ( electronics grade so no acetoxy cure) to blob over the active device, its leads and the mounting tab so as to keep liquid water out. Vapour will still penetrate, but will take a long time to corrode it to pieces, and the heat of operation should keep it out. You will have to cover the entire device, not just the pins, but the whole body and tab. Whoever has to repair it will have to dig it out and curse you, otherwise it is not done right. I will recommend not using a silicone grease thermal compound, but to use a silpad or other premade heat transfer and insulating method. If you use an extruded heatsink then fill the channel totally after wiring and test, but before it is used.