AD5246 I2C adjustable resistor
There is no typical life. MCU can write as many times as you can think of. The value is not stored into any non-volatile memory and the value is always reset to midpoint on powerup. You can verify this information from the datasheet of the chip.