Fenwick & West to pay $54 million in FTX settlement