Marshall has to contemplate giving up his plan of using his law degree to help the planet when he’s courted by a major firm; Lily reveals a secret to Robin that not even Marshall knows; Ted discovers a porn actor is using his name