Peel butternut squash then split in half lengthwise. Cut into large chunks and grate using a fine grater. It is essential to use the fine grates (like you would use to grate parmesan cheese). The finely grated squash will cook in the time the cake takes to bake.
The brown sugar in the icing will dissolve as it gets beaten with the cream cheese and butter.